<template>
	<view class="content">
		<view class="box">
			<view class="gy">房屋信息</view>
			<view class="room">
				<text>北京西三旗花园1号楼101</text>
				<!-- <view class="success">已完成</view> -->
				<view class="error">已取消</view>
			</view>
			<view class="gy">报修信息</view>
		</view>
		<!-- 报修信息 -->
		<view>
			<view class="repair">
				<text>维修项目</text>
				<text>水暖</text>
			</view>
			<view class="repair">
				<text>手机号码</text>
				<text>18335255252</text>
			</view>
			<view class="repair">
				<text>预约日期</text>
				<text>2022/08/12</text>
			</view>

			<!-- 问题描述 -->
			<view class="dsc">
				<view> 问题描述</view>
				<view>每天晚上7点到8点热水都很不稳定，时有时无。每天晚上7点到8点热水都很不稳定，时有时无。每天晚上7点到8点热水都很不稳定，时有时无。</view>
			</view>
		</view>
</template>

<script>
	export default {
		name: "waiting-house",
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.content {
		// padding-bottom: 279rpx;
		background-color: #FAFAFA;
	}

	.box {
		// padding: 15px;
		box-sizing: border-box;
		background-color: #fafafa;

		.gy {
			height: 86rpx;
			width: 100%;
			line-height: 86rpx;
			padding-left: 30rpx;
			font-weight: regular;
			color: #979797;
			font-size: 24rpx;
			box-sizing: border-box;
		}
	}

	.room {
		width: 750rpx;
		height: 102rpx;
		background-color: #ffffff;
		box-sizing: border-box;
		padding: 30rpx;
		font-weight: regular;
		font-size: 28rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;

		.success {
			width: 128rpx;
			height: 48rpx;
			color: #DEAB48;
			border-radius: 10rpx;
			background: #FCF5E9E5;
			font-size: 24rpx;
			line-height: 48rpx;
			text-align: center;
		}

		.error {
			width: 128rpx;
			height: 48rpx;
			color: #979797;
			border-radius: 10rpx;
			background: #F2F2F6;
			font-size: 24rpx;
			line-height: 48rpx;
			text-align: center;
		}
	}

	.repair {
		height: 102rpx;
		background-color: #ffffff;
		box-sizing: border-box;
		padding: 30rpx;
		font-weight: regular;
		font-size: 28rpx;
		display: flex;
		align-items: center;
		border-bottom: 1px solid #F2F2F6;

		text:nth-child(1) {
			width: 208rpx;
		}
	}

	.dsc {
		// height: 248rpx;
		background-color: #ffffff;
		box-sizing: border-box;
		padding: 30rpx;
		font-weight: regular;
		font-size: 28rpx;
		border-bottom: 1px solid #F2F2F6;

		view:nth-child(1) {
			height: 42rpx;
			margin-bottom: 20rpx;
			overflow: hidden;
		}
	}
</style>
